package com.vdf.sisconsolid.rest.type;

import java.util.Date;

public class Position  extends Base{
	
	private String longName;
	private String shortName;
	private Date createdDate;
	private Boolean active;

	public String getLongName() {
		return longName;
	}

	public void setLongName(String longName) {
		this.longName = longName;
	}

	public String getShortName() {
		return shortName;
	}

	public void setShortName(String shortName) {
		this.shortName = shortName;
	}

	public Date getCreatedDate() {
		return createdDate;
	}

	public void setCreatedDate(Date createdDate) {
		this.createdDate = createdDate;
	}

	public Boolean getActive() {
		return active;
	}

	public void setActive(Boolean active) {
		this.active = active;
	}
	
	public boolean equals (Object o) {
		if (o == null || ! (o instanceof Position)) {
			return false;
		}
		Position cl = (Position)o;
		return super.getId() == cl.getId();
	}

}
